package ualrcdg.shared.exceptions;

/**
 * Base class for all custom Community-Driven Gaming exception classes.
 */
public class CDGException extends Exception
{
	private static final long serialVersionUID = -1163546962812253424L;

	/**
	 * Parameterized constructor. Creates a new {@link CDGException} with no declared causing Throwable
	 * 
	 * @param err the message detailing the cause of the exception
	 */
	public CDGException( String err )
	{
		super( err );
	}
	
	/**
	 * Parameterized constructor. Creates a new {@link CDGException} with a declared causing Throwable
	 * 
	 * @param err the message detailing the cause of the exception
	 * @param cause the exception that caused this one to be thrown
	 */
	public CDGException( String err, Throwable cause )
	{
		super( err, cause );
	}
}
